<?php $this->_compileInclude('header'); ?>
<body>
<div class="container-fluid">
	<div class="row-fluid">
		<div class="pages">
            <?php $this->_compileInclude('nav'); ?>
			<div class="content">
				<div class="col-xs-3" style="width: 20%">
					<div class="content-box padding">
                        <?php $this->_compileInclude('menu'); ?>
					</div>
				</div>
				<div class="col-xs-9 nopadding" style="width: 80%">
					<div class="content-box padding">
						<h2 class="title">
							个人资料
							<a href="index.php?user-center-privatement-password" class="badge pull-right">修改密码</a>
						</h2>
						<ul class="list-unstyled list-img">
							<li class="border padding">
								<div class="desc">
									<form action="index.php?user-center-privatement" method="post" class="form-horizontal">
										<fieldset>
											<?php $fid = 0;
 foreach($this->tpl_var['forms'] as $key => $form){ 
 $fid++; ?>
											<div class="form-group underline">
												<div class="col-xs-2 tip">
													<?php echo $form['title']; ?>
												</div>
												<div class="col-xs-8">
													<?php echo $form['html']; ?>
												</div>
											</div>
											<?php } ?>
											<div class="form-group">
												<label class="control-label col-sm-2"></label>
												<div class="col-sm-10">
													<button class="btn btn-primary" type="submit">提交</button>
													<input type="hidden" name="modifyuserinfo" value="1"/>
													<input type="hidden" name="page" value="<?php echo $this->tpl_var['page']; ?>"/>
													<?php $aid = 0;
 foreach($this->tpl_var['search'] as $key => $arg){ 
 $aid++; ?>
													<input type="hidden" name="search[<?php echo $key; ?>]" value="<?php echo $arg; ?>"/>
													<?php } ?>
												</div>
											</div>
										</fieldset>
									</form>
								</div>
							</li>
						</ul>
					</div>
				</div>
			</div>
            <?php $this->_compileInclude('footer'); ?>
		</div>
	</div>
</div>
</body>
</html>